MAccountPg.widgets = {
	svAuthenticateLogin: ["wm.ServiceVariable", {"inFlightBehavior":"executeLast","operation":"authenticateLogin","service":"AccountService"}, {"onSuccess":"svAuthenticateLoginSuccess","onSuccess1":"layer4"}, {
		input: ["wm.ServiceInput", {"type":"authenticateLoginInputs"}, {}, {
			binding: ["wm.Binding", {}, {}, {
				wire: ["wm.Wire", {"expression":undefined,"source":"usernameInput.dataValue","targetProperty":"user"}, {}],
				wire1: ["wm.Wire", {"expression":undefined,"source":"passwordInput.dataValue","targetProperty":"passwd"}, {}]
			}]
		}]
	}],
	svAccountUpdate: ["wm.ServiceVariable", {"inFlightBehavior":"executeLast","operation":"updateAccount","service":"AccountService"}, {"onSuccess":"svAccountUpdateSuccess","onSuccess1":"layer4"}, {
		input: ["wm.ServiceInput", {"type":"updateAccountInputs"}, {}, {
			binding: ["wm.Binding", {}, {}, {
				wire: ["wm.Wire", {"expression":undefined,"source":"lastNameEditor2.dataValue","targetProperty":"account.lastName"}, {}],
				wire2: ["wm.Wire", {"expression":undefined,"source":"passwordEditor3.dataValue","targetProperty":"account.password"}, {}],
				wire3: ["wm.Wire", {"expression":undefined,"source":"largeTextArea1.dataValue","targetProperty":"account.address"}, {}],
				wire4: ["wm.Wire", {"expression":undefined,"source":"firstNameEditor2.dataValue","targetProperty":"account.firstName"}, {}],
				wire6: ["wm.Wire", {"expression":undefined,"source":"emailEditor3.dataValue","targetProperty":"account.email"}, {}],
				wire1: ["wm.Wire", {"expression":undefined,"source":"cellPhoneEditor2.dataValue","targetProperty":"account.cellPhone"}, {}]
			}]
		}]
	}],
	svRegister: ["wm.ServiceVariable", {"inFlightBehavior":"executeLast","operation":"registerAccount","service":"AccountService"}, {"onSuccess":"svRegisterSuccess","onSuccess1":"layer4"}, {
		input: ["wm.ServiceInput", {"type":"registerAccountInputs"}, {}, {
			binding: ["wm.Binding", {}, {}, {
				wire: ["wm.Wire", {"expression":undefined,"source":"largeTextArea2.dataValue","targetProperty":"account.address"}, {}],
				wire1: ["wm.Wire", {"expression":undefined,"source":"emailEditor2.dataValue","targetProperty":"account.email"}, {}],
				wire2: ["wm.Wire", {"expression":undefined,"source":"lastNameEditor1.dataValue","targetProperty":"account.lastName"}, {}],
				wire3: ["wm.Wire", {"expression":undefined,"source":"passwordEditor2.dataValue","targetProperty":"account.password"}, {}],
				wire4: ["wm.Wire", {"expression":undefined,"source":"firstNameEditor1.dataValue","targetProperty":"account.firstName"}, {}],
				wire5: ["wm.Wire", {"expression":undefined,"source":"emailEditor2.dataValue","targetProperty":"account.userName"}, {}],
				wire6: ["wm.Wire", {"expression":undefined,"source":"cellPhoneEditor1.dataValue","targetProperty":"account.cellPhone"}, {}]
			}]
		}]
	}],
	navigationCall1: ["wm.NavigationCall", {"operation":"gotoPage"}, {}, {
		input: ["wm.ServiceInput", {"type":"gotoPageInputs"}, {}, {
			binding: ["wm.Binding", {}, {}, {
				wire: ["wm.Wire", {"expression":"\"MHomeMenuPg\"","targetProperty":"pageName"}, {}]
			}]
		}]
	}],
	ncLoginSuccsess: ["wm.NotificationCall", {}, {}, {
		input: ["wm.ServiceInput", {"type":"alertInputs"}, {}, {
			binding: ["wm.Binding", {}, {}, {
				wire: ["wm.Wire", {"expression":undefined,"source":"svAuthenticateLogin.message","targetProperty":"text"}, {}]
			}]
		}]
	}],
	layoutBox1: ["wm.Layout", {"horizontalAlign":"left","styles":{},"verticalAlign":"top"}, {}, {
		layers1: ["wm.Layers", {"transition":"slide"}, {}, {
			layer1: ["wm.Layer", {"borderColor":"","caption":"layer1","horizontalAlign":"left","themeStyleType":"","verticalAlign":"top"}, {}, {
				panel1: ["wm.Panel", {"height":"100%","horizontalAlign":"left","layoutKind":"left-to-right","verticalAlign":"top","width":"100%"}, {}, {
					loginInputPanel: ["wm.HeaderContentPanel", {"_classes":{"domNode":["rounded"]},"autoScroll":true,"deviceType":null,"enableTouchHeight":true,"height":"100%","horizontalAlign":"center","styles":{"color":""},"verticalAlign":"top","width":"100%"}, {"onEnterKeyPress":"loginButton.click"}, {
						panel2: ["wm.Panel", {"desktopHeight":"90px","enableTouchHeight":true,"height":"102px","horizontalAlign":"center","mobileHeight":"102px","padding":"5","styles":{},"verticalAlign":"top","width":"100%"}, {}, {
							usernameInput: ["wm.Text", {"border":"0","borderColor":"#1e17ed","caption":"Email Id","captionAlign":"left","captionSize":"1px","dataValue":undefined,"desktopHeight":"35px","displayValue":"","height":"45px","mobileHeight":"45px","placeHolder":"Email ID:","regExp":"^[a-zA-Z0-9._%-]+@[a-zA-Z0-9.-]+\\.[a-zA-Z]{2,4}$","required":true,"styles":{},"width":"95%"}, {}],
							passwordInput: ["wm.Text", {"border":"0","caption":"Password","captionAlign":"left","captionSize":"1px","dataValue":undefined,"desktopHeight":"35px","displayValue":"","height":"45px","maxChars":"50","mobileHeight":"45px","password":true,"placeHolder":"Password:","required":true,"styles":{"fontSize":"16px"},"width":"95%"}, {}]
						}],
						panelLoginErrorMessage: ["wm.Panel", {"desktopHeight":"56px","enableTouchHeight":true,"height":"30px","horizontalAlign":"left","mobileHeight":"30px","showing":false,"styles":{},"verticalAlign":"top","width":"100%"}, {}, {
							loginErrorMsg: ["wm.Label", {"align":"center","caption":" ","height":"100%","padding":"4","singleLine":false,"styles":{"color":"#e21313","fontWeight":"bolder","fontSize":"14px"},"width":"100%"}, {}, {
								format: ["wm.DataFormatter", {}, {}]
							}]
						}],
						loginButtonPanel: ["wm.Panel", {"desktopHeight":"45px","enableTouchHeight":true,"height":"50px","horizontalAlign":"center","layoutKind":"left-to-right","mobileHeight":"50px","padding":"1","styles":{},"width":"100%"}, {}, {
							loginButton: ["wm.Button", {"border":"1","borderColor":"#000000","caption":"Login to My Account &nbsp; &nbsp; ","height":"100%","iconHeight":"25px","iconWidth":"25px","imageIndex":0,"imageList":"app.silkIconList","styles":{},"width":"95%"}, {"onclick":"loginButtonClick"}, {
								binding: ["wm.Binding", {}, {}, {
									wire: ["wm.Wire", {"expression":"${usernameInput.invalid} || ${passwordInput.invalid}","targetProperty":"disabled"}, {}]
								}]
							}]
						}],
						spacer2: ["wm.Spacer", {"height":"7px","width":"57px"}, {}],
						panelRegister: ["wm.Panel", {"desktopHeight":"130px","enableTouchHeight":true,"height":"189px","horizontalAlign":"center","mobileHeight":"189px","padding":"1","styles":{},"width":"100%"}, {}, {
							registerButton: ["wm.Button", {"border":"1","borderColor":"#000000","caption":"Register New Account","desktopHeight":"45px","height":"50px","imageIndex":54,"imageList":"app.silkIconList","mobileHeight":"50px","styles":{},"width":"95%"}, {"onclick":"layer2"}],
							spacer5: ["wm.Spacer", {"height":"10px","styles":{},"width":"57px"}, {}],
							bResetPassword: ["wm.Button", {"border":"1","borderColor":"#000000","caption":"Forgot Password &nbsp; &nbsp; &nbsp; &nbsp; ","desktopHeight":"45px","height":"50px","imageIndex":64,"imageList":"app.silkIconList","mobileHeight":"50px","styles":{},"width":"95%"}, {"onclick":"bResetPasswordClick"}],
							spacer6: ["wm.Spacer", {"height":"15px","styles":{},"width":"57px"}, {}],
							labelCoyRight4: ["wm.Label", {"align":"center","caption":"Copyright @2014","height":"26px","link":"www.google.com","padding":"4","styles":{"fontWeight":"normal","fontSize":"8px"},"width":"100%"}, {}],
							labelCoyRight7: ["wm.Label", {"align":"center","caption":"","display":"labelCoyRight7ReadOnlyNodeFormat","height":"34px","link":undefined,"padding":"4","styles":{"fontWeight":"normal","fontSize":"12px","fontStyle":"normal"},"width":"100%"}, {}]
						}]
					}]
				}]
			}],
			layer2: ["wm.Layer", {"borderColor":"","caption":"layer2","horizontalAlign":"left","styles":{},"themeStyleType":"","verticalAlign":"top"}, {}, {
				panelContent1: ["wm.HeaderContentPanel", {"autoScroll":true,"height":"100%","horizontalAlign":"center","margin":"0,0,0,0","styles":{},"verticalAlign":"top","width":"100%"}, {}, {
					formPanel2: ["wm.FormPanel", {"desktopHeight":"1441px","height":"1441px","horizontalAlign":"center","mobileHeight":"1441px","type":"com.ecartdb.data.Account"}, {}, {
						firstNameEditor1: ["wm.Text", {"border":"0","caption":"FirstName","captionSize":"0px","changeOnKey":true,"dataValue":"","desktopHeight":"26px","displayValue":"","emptyValue":"emptyString","height":"35px","maxChars":100,"placeHolder":"First Name","required":true,"width":"100%"}, {}],
						lastNameEditor1: ["wm.Text", {"border":"0","caption":"LastName","captionSize":"0px","changeOnKey":true,"dataValue":"","desktopHeight":"26px","displayValue":"","emptyValue":"emptyString","height":"35px","maxChars":100,"placeHolder":"Last Name","width":"100%"}, {}],
						cellPhoneEditor1: ["wm.Text", {"border":"0","caption":"CellPhone","captionSize":"0px","changeOnKey":true,"dataValue":"","desktopHeight":"26px","displayValue":"","emptyValue":"emptyString","height":"35px","maxChars":12,"placeHolder":"Mobile","regExp":"^[0-9]{10}","styles":{},"width":"100%"}, {}],
						emailEditor2: ["wm.Text", {"border":"0","caption":"Email","captionSize":"0px","changeOnKey":true,"dataValue":"","desktopHeight":"26px","displayValue":"","emptyValue":"emptyString","height":"35px","maxChars":100,"placeHolder":"Email","regExp":"^[a-zA-Z0-9._%-]+@[a-zA-Z0-9.-]+\\.[a-zA-Z]{2,4}$","styles":{},"width":"100%"}, {}],
						passwordEditor2: ["wm.Text", {"border":"0","caption":"Password","captionSize":"0px","changeOnKey":true,"dataValue":"","desktopHeight":"26px","displayValue":"","emptyValue":"emptyString","height":"35px","maxChars":40,"password":true,"placeHolder":"Password","styles":{},"width":"100%"}, {}],
						largeTextArea2: ["wm.LargeTextArea", {"border":"0","caption":"Address","captionAlign":"center","captionSize":"20px","dataValue":undefined,"desktopHeight":"99px","displayValue":"","height":"99px","mobileHeight":"99px","width":"100%"}, {}],
						panel9: ["wm.Panel", {"desktopHeight":"56px","enableTouchHeight":true,"height":"57px","horizontalAlign":"left","layoutKind":"left-to-right","mobileHeight":"57px","styles":{},"verticalAlign":"middle","width":"95%"}, {}, {
							pictureRegistrationChkBox1: ["wm.Picture", {"aspect":"v","height":"45px","source":"resources/images/mobile/checkboxchecked.jpg","width":"45px"}, {}],
							txtCopyright3: ["wm.Label", {"align":"left","caption":"I agree to terms and conditions **","height":"45px","padding":"4","singleLine":false,"styles":{},"width":"100%"}, {"onclick":"pictureRegistrationClick"}]
						}],
						buttonRegistration1: ["wm.Button", {"border":"1","caption":"Register &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;   ","desktopHeight":"30px","height":"45px","imageIndex":43,"imageList":"app.silkIconList","mobileHeight":"45px","styles":{"fontWeight":"bold"},"width":"95%"}, {"onclick":"buttonRegistration1Click"}],
						spacer3: ["wm.Spacer", {"height":"11px","width":"96px"}, {}],
						buttonLogin1: ["wm.Button", {"border":"1","caption":"Back to Login","desktopHeight":"30px","height":"45px","imageIndex":58,"imageList":"app.silkIconList","mobileHeight":"45px","styles":{"fontWeight":"bold"},"width":"95%"}, {"onclick":"layer1"}],
						labelCoyRight5: ["wm.Label", {"align":"center","caption":"Copyright @2014 eCart.com","height":"26px","link":"http://h2mapp.com/products.html","padding":"4","styles":{"fontWeight":"normal","fontSize":"8px"},"width":"100%"}, {}]
					}]
				}]
			}],
			layer3: ["wm.Layer", {"borderColor":"","caption":"layer3","horizontalAlign":"left","themeStyleType":"","verticalAlign":"top"}, {"onShow":"layer3Show"}, {
				panel3: ["wm.Panel", {"height":"100%","horizontalAlign":"left","layoutKind":"left-to-right","verticalAlign":"top","width":"100%"}, {}, {
					panelContent2: ["wm.HeaderContentPanel", {"autoScroll":true,"height":"100%","horizontalAlign":"center","margin":"0,0,0,0","styles":{},"verticalAlign":"top","width":"100%"}, {}, {
						label14: ["wm.Label", {"align":"right","caption":"Logout","height":"35px","padding":"4","styles":{"backgroundColor":"#5fb7f2"},"width":"95%"}, {}],
						formPanel3: ["wm.FormPanel", {"desktopHeight":"1441px","height":"1441px","horizontalAlign":"center","mobileHeight":"1441px","type":"com.ecartdb.data.Account"}, {}, {
							firstNameEditor2: ["wm.Text", {"border":"0","caption":"FirstName","captionSize":"0px","changeOnKey":true,"desktopHeight":"26px","displayValue":"","emptyValue":"emptyString","height":"35px","maxChars":100,"placeHolder":"First Name","required":true,"width":"100%"}, {}, {
								binding: ["wm.Binding", {}, {}, {
									wire: ["wm.Wire", {"expression":undefined,"source":"app.vAccount.firstName","targetProperty":"dataValue"}, {}]
								}]
							}],
							lastNameEditor2: ["wm.Text", {"border":"0","caption":"LastName","captionSize":"0px","changeOnKey":true,"desktopHeight":"26px","displayValue":"","emptyValue":"emptyString","height":"35px","maxChars":100,"placeHolder":"Last Name","width":"100%"}, {}, {
								binding: ["wm.Binding", {}, {}, {
									wire: ["wm.Wire", {"expression":undefined,"source":"app.vAccount.lastName","targetProperty":"dataValue"}, {}]
								}]
							}],
							cellPhoneEditor2: ["wm.Text", {"border":"0","caption":"CellPhone","captionSize":"0px","changeOnKey":true,"desktopHeight":"26px","displayValue":"","emptyValue":"emptyString","height":"35px","maxChars":"10","placeHolder":"Mobile","regExp":"^[0-9]{10}","styles":{},"width":"100%"}, {}, {
								binding: ["wm.Binding", {}, {}, {
									wire: ["wm.Wire", {"expression":undefined,"source":"app.vAccount.cellPhone","targetProperty":"dataValue"}, {}]
								}]
							}],
							emailEditor3: ["wm.Text", {"border":"0","caption":"Email","captionSize":"0px","changeOnKey":true,"desktopHeight":"26px","displayValue":"","emptyValue":"emptyString","height":"35px","maxChars":100,"placeHolder":"Email","regExp":"^[a-zA-Z0-9._%-]+@[a-zA-Z0-9.-]+\\.[a-zA-Z]{2,4}$","styles":{},"width":"100%"}, {}, {
								binding: ["wm.Binding", {}, {}, {
									wire: ["wm.Wire", {"expression":undefined,"source":"app.vAccount.email","targetProperty":"dataValue"}, {}]
								}]
							}],
							passwordEditor3: ["wm.Text", {"border":"0","caption":"Password","captionSize":"0px","changeOnKey":true,"desktopHeight":"26px","displayValue":"","emptyValue":"emptyString","height":"35px","maxChars":40,"placeHolder":"Password","width":"100%"}, {}, {
								binding: ["wm.Binding", {}, {}, {
									wire: ["wm.Wire", {"expression":undefined,"source":"app.vAccount.password","targetProperty":"dataValue"}, {}]
								}]
							}],
							largeTextArea1: ["wm.LargeTextArea", {"border":"0","caption":"Address","captionAlign":"center","captionSize":"28px","desktopHeight":"117px","displayValue":"","height":"117px","mobileHeight":"117px","width":"100%"}, {}, {
								binding: ["wm.Binding", {}, {}, {
									wire: ["wm.Wire", {"expression":undefined,"source":"app.vAccount.address","targetProperty":"dataValue"}, {}]
								}]
							}],
							buttonRegistration2: ["wm.Button", {"border":"1","caption":"Update Account &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;   ","desktopHeight":"30px","height":"45px","imageIndex":43,"imageList":"app.silkIconList","mobileHeight":"45px","styles":{"fontWeight":"bold"},"width":"95%"}, {"onclick":"buttonRegistration2Click"}],
							spacer7: ["wm.Spacer", {"height":"23px","width":"96px"}, {}],
							buttonRegistration6: ["wm.Button", {"border":"1","caption":"Back &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;   ","desktopHeight":"30px","height":"45px","imageIndex":3,"imageList":"app.silkIconList","mobileHeight":"45px","styles":{"fontWeight":"bold"},"width":"95%"}, {"onclick":"layer4"}]
						}]
					}]
				}]
			}],
			layer4: ["wm.Layer", {"borderColor":"","caption":"layer4","horizontalAlign":"center","themeStyleType":"","verticalAlign":"middle"}, {}, {
				panel4: ["wm.Panel", {"height":"100%","horizontalAlign":"center","verticalAlign":"middle","width":"100%"}, {}, {
					buttonRegistration3: ["wm.Button", {"border":"1","caption":"Shop &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;   ","desktopHeight":"30px","height":"45px","imageIndex":22,"imageList":"app.silkIconList","mobileHeight":"45px","styles":{"fontWeight":"bold"},"width":"95%"}, {"onclick":"buttonRegistration3Click"}],
					spacer1: ["wm.Spacer", {"height":"23px","width":"96px"}, {}],
					buttonRegistration4: ["wm.Button", {"border":"1","caption":"Order History &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;   ","desktopHeight":"30px","height":"45px","imageIndex":25,"imageList":"app.silkIconList","mobileHeight":"45px","styles":{"fontWeight":"bold"},"width":"95%"}, {"onclick":"buttonRegistration4Click"}],
					spacer4: ["wm.Spacer", {"height":"23px","width":"96px"}, {}],
					buttonRegistration5: ["wm.Button", {"border":"1","caption":"Update Account &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;   ","desktopHeight":"30px","height":"45px","imageIndex":54,"imageList":"app.silkIconList","mobileHeight":"45px","styles":{"fontWeight":"bold"},"width":"95%"}, {"onclick":"layer3"}]
				}]
			}]
		}]
	}]
}